<%@ page language="java" contentType="text/html; utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>添加、删除一行</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="../js/jquery-1.8.3.min.js"></script>
<script type="text/javascript"> 
		$(function(){
			onc();
		});
		
		function  onc(){
			alert($("#1").val());
			}
</script>
</head>

<body>
		<select id="1" onchange="onc()">
			<option value="3">香蕉 </option>
			<option value="2">苹果 </option>
			<option value="1">橘子 </option>
		</select>
</body>

</html>
